#pragma once

#include "thermalcam.h"
#include "checkResult.h"
#include "worker.h"

#include <stdlib.h>

//#include "opencv2/opencv.hpp"
#include <opencv2/core.hpp>
#include <opencv2/imgcodecs/imgcodecs.hpp>
#include "opencv2/imgcodecs/legacy/constants_c.h"

using namespace std;
namespace RT{

class Work_x :public RT::Worker{
public:
    Work_x(WorkerParams wp);
    ~Work_x();
    
    virtual void m_processCallBack(Json::Value params) override;

private:
    static void m_process(void* work_ptr);  //m_processCallBack的任务
    // static void m_matToString(cv::Mat srcImg, string &str, const string imgType);
    // static int m_stringToMat(cv::Mat &dstImg, const string &orgImgStr, const int imgChannels);
    


    
public:

    
};

}